<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			a{
				width: 100px;
				height: 100px;
				background: red;
				display: inline-block;
				transform: translateY(-20px);
			}
			div{
				width: 100px;
				height: 100px;
				background: green;
				transform: translateY(-60px);
			}
		</style>
	</head>
	<body>
		<a href="">你好</a>
		<a href="">你好</a>
		<div>你好</div>
		<div>你好</div>
	</body>
</html>
